package util

//import "gitee.com/kuntu-projects/go-kuntu-jkit/base/util"

// ==================
// function-iterable: 迭代
// ==================

// Iterable 遍历
type iterable[E any] interface {

	// Iterator Implementing this interface allows an object to be the target of the enhanced
	Iterator() iterator[E]
}

// DefaultIterable default iterable
type DefaultIterable[E any] struct {
	iterable[E]
}
